Infinite product of connected spaces